<?php

use Illuminate\Database\Seeder;

class LikesTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        //数据插入
        DB::table('likes')->insert(
            [
                'id' => '1',
                'uid' => '1',
                'cid' => '3',
            ],
            [
                'id' => '2',
                'uid' => '1',
                'cid' => '3',
            ],
            [
                'id' => '3',
                'uid' => '1',
                'cid' => '3',
            ],
            [
                'id' => '4',
                'uid' => '2',
                'cid' => '8',
            ],
            [
                'id' => '5',
                'uid' => '1',
                'cid' => '5',
            ],
            [
                'id' => '6',
                'uid' => '1',
                'cid' => '5',
            ]
        );
    }
}
